home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 40 / PC Gamer IT CD 40 1-2.iso / ELINK / CLARISHP / _SETUP.1 / HOMEPAGE.exe / 1009 / 169 < prev    next >
Text File  |  1997-02-20  |  4KB  |  100 lines

  1. // -----
  2. // VDL169.txt
  3. // Copyright 1996 Claris
  4. // -----
  5.  
  6.  
  7. //License Dialog
  8. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  9. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  10. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  11.  
  12. //This section contains all localizable string constants for this VDL program. Be sure to 
  13. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  14. //You may also flatten multiline constants into a single line, if you prefer
  15.  
  16. #define kLit1 "WARNING! This is pre-release software."
  17. #define kLit2 "Please read the License Agreement below, and click Agree if you"\
  18.                      " accept it. You cannot use Claris Home Page without accepting this"\
  19.                      " License."
  20. #define kLit3 "Disagree"
  21. #define kLit4 "&Disagree"
  22. #define kLit5 "Agree"
  23.  
  24.  
  25. //Localized Fonts
  26.  
  27. #if Platform_Mac
  28. #define AboutFont Font = {Times, 14, {Plain}}
  29. #define LicenseTextFont Font = {Times, 12, {Plain}}
  30. #else
  31. #define AboutFont Font = {Arial, 12, {Plain}}
  32. #define LicenseTextFont Font = SystemFont
  33. #endif
  34.  
  35.  
  36. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  37. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  38. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  39.  
  40.  
  41.  
  42. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  43. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  44. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  45.  
  46. //This section contains integer constants that are used to format this VDL program.
  47. //These are localizable - they only need to be changed if the localized strings 
  48. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  49.  
  50. //Width of the buttons on the bottom of the dialog
  51. #define kButtonWidth 75
  52.  
  53. //The base value to calculate the width of the dialog itself
  54. #define kDialogMainWidth 400
  55.  
  56. //Height of the license text area. Width is taken from the dialog width.
  57. #define kLicenseTextHeight 200
  58.  
  59. #define kMainStaticTextWidth 400
  60.  
  61. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  62. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  63. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  64.  
  65. //No further localizable data past this point
  66.  
  67. /************************** END LOCALIZABLE DATA ***************************************************/
  68. /************************** END LOCALIZABLE DATA ***************************************************/
  69. /************************** END LOCALIZABLE DATA ***************************************************/
  70.  
  71.  
  72. Margin(10, 10, 10, 10)
  73.     VList()
  74.         {
  75.         StaticText(kLit1, Width = kMainStaticTextWidth,AboutFont);
  76.         StaticText(kLit2, Width = kDialogMainWidth,AboutFont);
  77.  
  78.         Spacer(Height = 10, Width = 0);
  79.         #if Platform_Win
  80.         Margin(0,0,1,0, BackColor = Black)
  81.         #endif
  82.             VList(VScroll, BackColor = White, Height = kLicenseTextHeight)
  83.                 StaticText(licenseString, Width = kDialogMainWidth, LicenseTextFont);
  84.             
  85.         Spacer(Height = 10, Width = 0);
  86.         HList(Width = UseParent)
  87.             {
  88.             Spacer(Height = 0, Width = UseParent);
  89.             #if Platform_Mac
  90.             CancelButton(kLit3, 1070, "None", Width = kButtonWidth, ExtraCommand = 314);
  91.             #else
  92.             CancelButton(kLit4, 1070,  "None", Width = kButtonWidth);
  93.             #endif
  94.             
  95.             Spacer(Height = 0, Width = 10);
  96.             FramedButton(kLit5, 1071, "None", Width = kButtonWidth);
  97.             }
  98.         } // Main List
  99.  
  100.